﻿/*
///    This file is part of BannerLib4Net.
///
///    BannerLib4Net is free software: you can redistribute it and/or modify
///    it under the terms of the GNU General Public License as published by
///    the Free Software Foundation, either version 3 of the License, or
///    (at your option) any later version.

///    BannerLib4Net is distributed in the hope that it will be useful,
///    but WITHOUT ANY WARRANTY; without even the implied warranty of
///    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
///    GNU General Public License for more details.
///
///    You should have received a copy of the GNU General Public License
///    along with BannerLib4Net.  If not, see <http://www.gnu.org/licenses/>.
*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BannerLib4Net.Data.Models
{
    public interface IModel
    {
        /// <summary>
        /// Value representing a unique record identifier in the database
        /// </summary>
        Int64? DatabaseKey { get; set; }

        /// <summary>
        /// Value represening a common property named [NAME]
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// Value represening a common property named [NOTES]
        /// </summary>
        string Notes { get; set; }

        /// <summary>
        /// Value represening a common property named [ACTIVE]
        /// </summary>
        bool Active { get; set; }

        /// <summary>
        /// Value represening a common property named [LASTUPDATED]
        /// </summary>
        DateTime? DateEdited { get; set; }

        /// <summary>
        /// Value represening a common property named [DATECREATED]
        /// </summary>
        DateTime? DateCreated { get; set; }

        /// <summary>
        /// Value represening a common property named [DESCRIPTION]
        /// </summary>
        string Description { get; set; }

        /// <summary>
        /// Represents a model sort order when rendered in a display UI
        /// </summary>
        int? SortOrder { get; set; }

        string EditedBy { get; set; }

        string CreatedBy { get; set; }

    }
}
